if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_insertBillDetail]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_insertBillDetail]
GO
CREATE PROC sp_insertBillDetail
	@billID			int,
	@productID		int,
	@number			int,
	@price			varchar(20),
	@amount			varchar(20)
AS
BEGIN
	INSERT INTO BillDetails (BillID, ProductID, Number, Price, Amount)
		VALUES (@billID, @productID, @number, @price, @amount)
END